<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        //1.监测获取字符串的长度 length
        var str = 'my name is andy'
        console.log(str.length)
        //2.字符串的拼接+
        console.log('沙漠'+'骆驼');
        console.log('pink老师'+18);//pink老师18
        console.log('12'+'12');

    </script>
</head>
<body>

</body>
</html>